/** 
 * SymbolTableIterator.java
 * @author Lex
 * 2007-8-24 ����06:38:59
 */
package fun.symtable;

import java.util.Iterator;

import org.lex.utils.collections.UnmodifiableIterator;


public abstract class SymbolTableIterator<T> extends UnmodifiableIterator<T> {
    protected SymbolTable table = null;

    public SymbolTableIterator(SymbolTable table, Iterator<T> iterator) {
	super(iterator);
	this.table = table;
    }

    public String getScope() {
	return table.getName();
    }

    @Override
    public T next() {
	return super.next();
    }
}
